package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_douluodalu_open_box", desc = "斗罗/封神宝箱开启表", autoSave = true, uploadCk = true)
public class LogDouLuoDaLuOpenBox extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "队伍id")
    private int teamId;

    @FieldTypeAnnotation(desc = "所在区域id")
    private int regionId;

    @FieldTypeAnnotation(desc = "宝箱id")
    private int boxId;

    @FieldTypeAnnotation(desc = "宝箱数量")
    private int num;

    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogDouLuoDaLuOpenBox(int activityId, long userId, int teamId, int regionId, int boxId, int num, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.teamId = teamId;
        this.regionId = regionId;
        this.boxId = boxId;
        this.num = num;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
